package com.juzipi.inter.mid;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.juzipi.inter.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author juzipi
 * @Date 2021/4/14 15:49
 * @Info 学生老师中间表，此表为中间表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "student_teacher_mid")
public class StudentTeacherMid extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    //学生id
    private Long studentId;
    //老师id
    private Long teacherId;

}
